
package com.insigma.business.qrcode.soldier.dao;


import com.insigma.business.qrcode.common.annotation.Crypt;
import com.insigma.business.qrcode.soldier.entity.SoldierBasicImportDO;
import com.insigma.business.qrcode.soldier.request.SoldierBasicImportBSearcher;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Crypt(decryptFields = {"idCardNo", "", ""})
public interface SoldierBasicImportDao {

    
    List<SoldierBasicImportDO> search(final SoldierBasicImportBSearcher innerSearcher);

    
    SoldierBasicImportDO get(final String id);

    
    Integer insert(final SoldierBasicImportDO soldierBasicImportDO);

    
    Integer update(final SoldierBasicImportDO soldierBasicImportDO);

    
    Integer delete(@Param("id") final String id,
                   @Param("modifierType") final String modifierType,
                   @Param("modifierId") final String modifierId);

    
    List<SoldierBasicImportDO> listAllSoldierNotInBasic();

}
